package com.itheima.health.dao;

import com.itheima.health.pojo.Order;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Repository
public interface OrderDao {


    Integer find(Order order);

    void add(Order order);


    HashMap<String, Object> findById(String id);

    List<Map<String, Object>> getOrderCount();

    Integer gettodayOrderNumber(String today);

    Integer gettodayVisitsNumber(String today);

    Integer getthisWeekOrderNumber(HashMap<String, String> weekmap);

    Integer getthisWeekVisitsNumber(String thisWeekFirstDate);

    List<Map<String, Object>> gethotSetmeal();

}
